﻿// *************************************************************************************************
// Project: RealSense.Light.Contracts
// Namespace: RealSense.Light.Contracts
// File: ISession.cs  Author: Peter O'Hanlon
// Copyright © Peter O'Hanlon 2014-2015
// Date: 2015/1/3 16:05
// *************************************************************************************************

using System.Collections.Generic;
using System.ComponentModel.Composition;
namespace RealSense.Light.Contracts
{
  /// <summary>
  /// Manages a single RealSense instance.
  /// </summary>
  [InheritedExport("Session", typeof(ISession))]
  public interface ISession
  {
    /// <summary>
    /// Gets the details of the underlying SDK version.
    /// </summary>
    IVersion Version { get; }

    IEnumerable<string> Devices(DeviceTypes deviceType);

    /// <summary>
    /// Start processing frames.
    /// </summary>
    void StartProcessing();
  }
}
